package net.peelmeagrape.hibernate.sql;

import net.peelmeagrape.hibernate.xmlgen.XmlElement;
import net.peelmeagrape.hibernate.xmlgen.XmlText;
import net.peelmeagrape.hibernate.xmlgen.XmlAttribute;

import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Retention(RUNTIME)
@XmlElement(name="sql-delete")
public @interface SqlDelete
{
    @XmlText String value() default "";
    @XmlAttribute boolean callable() default false;
}
